package com.woniuxy.exception;

import org.springframework.security.core.AuthenticationException;

public class PawnJurisdictionException extends AuthenticationException {
    private Integer code;

    public PawnJurisdictionException(String msg, Throwable t) {
        super(msg, t);
    }

    public PawnJurisdictionException(String msg, Integer code) {
        super(msg);
        this.setCode(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
